package com.hsj.boot;


import com.hsj.boot.properties.UrlProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * springboot 只会扫描 标注了 @SpringBootApplication  的包 或者 子包，如果想扫描其他包，可以如下
 *    -  自定义扫描路径 两种方式
 *              1. @ComponentScan("com.z hangSan")
 *              2. @SpringBootApplication(scanBasePackages = "com.zhangSan")
 */
@SpringBootApplication
public class MainApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(MainApplication.class);

    }
}
